#ifndef _WorkerThread_H_
#define _WorkerThread_H_

#include "Thread.hpp"

namespace wd{

class ThreadPool;

class WorkerThread:public Thread
{
public:
    WorkerThread(ThreadPool & threadpool);

    void run() override;

private:
    ThreadPool & _threadpool;
};

}

#endif

